package com.bwie.es.feign;

import com.bwie.common.domain.request.ProductRequest;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "bwie-product")
public interface ShowFeignController {

    /**
     * 商品列表
     * @param
     * @return
     */
    @GetMapping("/product/showAll")
    public Result<List<ProductRequest>> showAll();
}
